package com.project.webpage.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.project.webpage.dto.ClxxDto;
import com.project.webpage.dto.ClxxParam;
import com.project.webpage.mapper.ClxxMapper;
import com.project.webpage.service.ClxxService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ClxxServiceImpl implements ClxxService {

    @Resource
    private ClxxMapper clxxMapper;

    @Override
    @DS("master")
    public List<ClxxDto> getListForPage(ClxxParam param) {
        return clxxMapper.selectListByUid(param);
    }
}
